interface UserO {
  address?: string
  name?: string
  age?: number
}
//原理
type coustomOmit<T, K> = Pick<T, Exclude<keyof T, K>>

type testo = Omit<UserO, 'age'>

//结果

type testo1 = {
  address?: string | undefined
  name?: string | undefined
}
